package cn.sinata.wanglin.database;

import com.bigkoo.pickerview.model.IPickerViewData;

public class CityInfo implements IPickerViewData {
/**
 *  `city_id` int(20) NOT NULL,
  `city_name` varchar(50) default NULL,
  `province_id` bigint(20) default NULL,
  `city_lng` decimal(12,8) default NULL,
  `city_lat` decimal(12,8) default NULL,
  `create_date` datetime default NULL,
  `update_date` datetime default NULL,
 */
	String city_name;
	int city_id;
	int province_id;

	public CityInfo() {
		super();
	}

	public String getCity_name() {
		return city_name;
	}

	public void setCity_name(String city_name) {
		this.city_name = city_name;
	}

	public int getCity_id() {
		return city_id;
	}

	public void setCity_id(int city_id) {
		this.city_id = city_id;
	}

	public int getProvince_id() {
		return province_id;
	}

	public void setProvince_id(int province_id) {
		this.province_id = province_id;
	}

	public CityInfo(String city_name, int city_id, int province_id) {
		super();
		this.city_name = city_name;
		this.city_id = city_id;
		this.province_id = province_id;
	}


	@Override
	public String getPickerViewText() {
		return city_name;
	}
}
